package org.scheduler4j.scheduler;

/**
 * this is the main function of Scheduler4J.
 * 
 * @author Eric
 * 
 */
public abstract class AbstractScheduler implements Scheduler {
	/**
	 * the interval of this scheduler, such as fired each 2 days, fired each 3
	 * months...
	 */
	protected int interval;

	/**
	 * the indate of this scheduler
	 */
	protected Indate indate;

	/**
	 * the times this scheduler occurred.
	 */
	protected int occurredTimes;

	public int getInterval() {
		return interval;
	}

	public void setInterval(int interval) {
		this.interval = interval;
	}

	public int getOccurredTimes() {
		return occurredTimes;
	}

	public void setOccurredTimes(int occurredTimes) {
		this.occurredTimes = occurredTimes;
	}
}
